import { createApp } from 'vue'
import App from './App.vue'
import router from '@/router';// 页面路由
import pinia from '@/store';// 全局状态管理
import ElementPlus from "element-plus";
import locale from 'element-plus/es/locale/lang/zh-cn';// element-plus 中文
import "element-plus/dist/index.css";// element-plus 组件样式
import "element-plus/theme-chalk/display.css";// element-plus 暗黑主题
import "element-plus/theme-chalk/dark/css-vars.css";// element-plus 暗黑主题
import "normalize.css/normalize.css";// 浏览器的默认样式的差异统一
import "@/styles/index.scss";// scss 样式库

import '@/assets/iconfont/iconfont.css'; // 引入阿里云字体图标class
import '@/assets/iconfont/iconfont.js'; // 引入阿里云字体图标svg

import components from '@/plugins/components';// 全局组件

const app = createApp(App);
app.use(ElementPlus, { size: 'small', locale }).use(router).use(pinia).use(components).mount('#app');
